/*
 * @(#)MaintDmsQueryRecordForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.web;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

/**
  MaintDmsQueryRecordForm.java

  This class is the serializable bean reflecting business logic uses.

    @author           Jenny Li
    @company          DCIVision Limited
    @creation date    30/08/2004
    @version          $Revision: 1.8 $
*/

public class MaintDmsQueryRecordForm extends ListDmsDocumentForm {

  public static final String REVISION = "$Revision: 1.8 $";

  private String ID=null;  
  private String queryName=null;
  private String queryDescription=null;
  private String isPublic="Y";
  
  private String[] udfDetail_fieldType=null;
  private String[] udfDetail_fieldOption=null;
  private String[] udfDetail_value=null;
  private String[] udfDetail_value_to=null;
  private String[] udfDetail_exactMatch=null;
  private String queryPriority=null;
  
  public MaintDmsQueryRecordForm(){
    super(); 
    this.setSortAttribute("QUERY_NAME");
    this.setSortOrder("ASC");
  }
  
  public void setID(String ID){
    this.ID=ID; 
  }
  
  public String getID(){
    return this.ID; 
  }
  
  public void setQueryName(String queryName){
    this.queryName=queryName; 
  }
  
  public String getQueryName(){
    return this.queryName; 
  }
  
  public void setQueryDescription(String queryDescription){
    this.queryDescription=queryDescription; 
  }
  
  public String getQueryDescription(){
    return this.queryDescription; 
  }
  
  public void setIsPublic(String isPublic){
    this.isPublic=isPublic; 
  }
  
  public String getIsPublic(){
    return this.isPublic; 
  }
  
  public void setUdfDetail_fieldType(String[] udfDetail_fieldType){
    this.udfDetail_fieldType=udfDetail_fieldType;
  }
  
  public String[] getUdfDetail_fieldType(){
    return this.udfDetail_fieldType; 
  }
  
  public void setUdfDetail_fieldOption(String[] udfDetail_fieldOption){
    this.udfDetail_fieldOption=udfDetail_fieldOption; 
  }
  
  public String[] getUdfDetail_fieldOption(){
    return this.udfDetail_fieldOption ;
  }
  
  public void setUdfDetail_value(String[] udfDetail_value){
    this.udfDetail_value=udfDetail_value; 
  }
  
  public String[] getUdfDetail_value(){
    return this.udfDetail_value; 
  }
  
  public void setUdfDetail_value_to(String[] udfDetail_value_to){
    this.udfDetail_value_to=udfDetail_value_to; 
  }
  
  public String[] getUdfDetail_value_to(){
    return this.udfDetail_value_to; 
  }
  
  public void setUdfDetail_exactMatch(String[] udfDetail_exactMatch){
    this.udfDetail_exactMatch=udfDetail_exactMatch; 
  }
  
  public String[] getUdfDetail_exactMatch(){
    return this.udfDetail_exactMatch; 
  }
  
  public void setQueryPriority(String queryPriority){
    this.queryPriority=queryPriority; 
  }
  
  public String getQueryPriority(){
    return this.queryPriority; 
  }
  
  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
    return super.validate(mapping, request);
  }
   
   
}